import { contextBridge,ipcRenderer } from "electron";

const showNameDialog =()=>{
    const res =ipcRenderer.invoke('showNameDialog')
    return res
}
contextBridge.exposeInMainWorld('app',{
    showNameDialog
})